package com.zrf.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Seller entity. @author MyEclipse Persistence Tools
 */

public class Seller implements java.io.Serializable {

	// Fields

	private Integer sellerid;
	private String sname;
	private String spassword;
	private Set products = new HashSet(0);
	private Set banks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Seller() {
	}

	/** minimal constructor */
	public Seller(Integer sellerid) {
		this.sellerid = sellerid;
	}

	/** full constructor */
	public Seller(Integer sellerid, String sname, String spassword,
			Set products, Set banks) {
		this.sellerid = sellerid;
		this.sname = sname;
		this.spassword = spassword;
		this.products = products;
		this.banks = banks;
	}

	// Property accessors

	public Integer getSellerid() {
		return this.sellerid;
	}

	public void setSellerid(Integer sellerid) {
		this.sellerid = sellerid;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSpassword() {
		return this.spassword;
	}

	public void setSpassword(String spassword) {
		this.spassword = spassword;
	}

	public Set getProducts() {
		return this.products;
	}

	public void setProducts(Set products) {
		this.products = products;
	}

	public Set getBanks() {
		return this.banks;
	}

	public void setBanks(Set banks) {
		this.banks = banks;
	}

}